﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XT.Model;

namespace XT.BusinessService
{
    public interface IRoomService 
    {
        Room getRoomById(int id);

        IEnumerable<Room> getSomeRoomByArea(int areaId, int pageIndex, int pageSize);
        IEnumerable<Room> getSomeRoomByDistrict(int districtId, int pageIndex, int pageSize);
        
        IEnumerable<Room> getThreeRoomByDate();
        IEnumerable<Room> getThreeRoomByViews();
        IEnumerable<Room> showMoreHotRoom(int pageIndex,int pageSize);
        IEnumerable<Room> showMoreNewRoom(int pageIndex, int pageSize);

        Room searchRoomByName(string txt);
        IEnumerable<Room> SuggestRooms(string txt);
    }
}
